﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace CRM.BLL
{
    public class PartsCategoryB
    {
        #region PartsCategory
        /// <summary>
        /// 获取PartsCategory信息
        /// </summary>
        public DataTable GetPartsCategory(ref CRM.MODEL.GetPartsCategory stu)
        {
            CRM.DAL.PartsCategoryD obj = new CRM.DAL.PartsCategoryD();
            DataTable dt = obj.ExecuteGetPartsCategory(ref stu);
            obj.Dispose();
            return dt;
        }

        /// <summary>
        /// 编辑PartsCategory信息
        /// </summary>
        public int EditPartsCategory(ref CRM.MODEL.EditPartsCategory stu)
        {
            CRM.DAL.PartsCategoryD obj = new CRM.DAL.PartsCategoryD();
            int effectRow = obj.ExecuteEditPartsCategory(ref stu);
            obj.Dispose();
            return effectRow;
        }
        #endregion
    }
}
